package com.kaifamiao.jspcore;

public class Loong {

    private Integer loongId;
    private String loongName;
    private char loongGender;

    public Loong(){
        super();
    }

    public Loong(Integer id, String name, char gender) {
        this.loongId = id;
        this.loongName = name;
        this.loongGender = gender;
    }

    // getId() --> 剔除get和参数部分 --> Id --> 首字母小写 --> id
    public Integer getId() {
        return loongId;
    }

    // setId(Integer id) --> 剔除set和参数部分 --> Id --> 首字母小写 --> id
    public void setId(Integer id) {
        this.loongId = id;
    }

    public String getName() {
        return loongName;
    }

    public void setName(String name) {
        this.loongName = name;
    }

    public char getGender() {
        return loongGender;
    }

    public void setGender(char gender) {
        this.loongGender = gender;
    }
}
